home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Base Documentation 1998 November
/
IRIX 6.5.2 Base Documentation November 1998.img
/
usr
/
share
/
catman
/
p_man
/
cat3
/
Xm
/
XmCreateMenuBar.z
/
XmCreateMenuBar
Wrap
Text File
|
1998-10-30
|
6KB
|
133 lines
XXXXmmmmCCCCrrrreeeeaaaatttteeeeMMMMeeeennnnuuuuBBBBaaaarrrr((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmCCCCrrrreeeeaaaatttteeeeMMMMeeeennnnuuuuBBBBaaaarrrr((((3333XXXX))))
NNNNAAAAMMMMEEEE
XXXXmmmmCCCCrrrreeeeaaaatttteeeeMMMMeeeennnnuuuuBBBBaaaarrrr - A RowColumn widget convenience creation
function
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
#include <Xm/RowColumn.h>
WWWWiiiiddddggggeeeetttt XXXXmmmmCCCCrrrreeeeaaaatttteeeeMMMMeeeennnnuuuuBBBBaaaarrrr(
WWWWiiiiddddggggeeeetttt ppppaaaarrrreeeennnntttt,
SSSSttttrrrriiiinnnngggg nnnnaaaammmmeeee,
AAAArrrrggggLLLLiiiisssstttt aaaarrrrgggglllliiiisssstttt,
CCCCaaaarrrrddddiiiinnnnaaaallll aaaarrrrggggccccoooouuuunnnntttt);
VVVVEEEERRRRSSSSIIIIOOOONNNN
This page documents Motif 2.1.
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
XXXXmmmmCCCCrrrreeeeaaaatttteeeeMMMMeeeennnnuuuuBBBBaaaarrrr creates an instance of a RowColumn widget of
type XXXXmmmmMMMMEEEENNNNUUUU____BBBBAAAARRRR and returns the associated widget ID. It is
provided as a convenience function for creating RowColumn
widgets configured to operate as a MenuBar and is not
implemented as a separate widget class.
The MenuBar widget is generally used for building a Pulldown
menu system. Typically, a MenuBar is created and placed
along the top of the application window, and several
CascadeButtons are inserted as the children. Each of the
CascadeButtons has a Pulldown menu pane associated with it.
These Pulldown menu panes must have been created as children
of the MenuBar. The user interacts with the MenuBar by
using either the mouse or the keyboard.
The MenuBar displays a 3-D shadow along its border. The
application controls the shadow attributes using the
visual-related resources supported by XXXXmmmmMMMMaaaannnnaaaaggggeeeerrrr.
The MenuBar widget is homogeneous in that it accepts only
children that are a subclass of XXXXmmmmCCCCaaaassssccccaaaaddddeeeeBBBBuuuuttttttttoooonnnn or
XXXXmmmmCCCCaaaassssccccaaaaddddeeeeBBBBuuuuttttttttoooonnnnGGGGaaaaddddggggeeeetttt. Attempting to insert a child of a
different class results in a warning message.
If the MenuBar does not have enough room to fit all of its
subwidgets on a single line, the MenuBar attempts to wrap
the remaining entries onto additional lines if allowed by
the geometry manager of the parent widget.
_p_a_r_e_n_t Specifies the parent widget ID
_n_a_m_e Specifies the name of the created widget
_a_r_g_l_i_s_t Specifies the argument list
_a_r_g_c_o_u_n_t Specifies the number of attribute/value pairs in
Page 1 (printed 10/24/98)
XXXXmmmmCCCCrrrreeeeaaaatttteeeeMMMMeeeennnnuuuuBBBBaaaarrrr((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmCCCCrrrreeeeaaaatttteeeeMMMMeeeennnnuuuuBBBBaaaarrrr((((3333XXXX))))
the argument list (_a_r_g_l_i_s_t)
For a complete definition of RowColumn and its associated
resources, see XXXXmmmmRRRRoooowwwwCCCCoooolllluuuummmmnnnn(3).
RRRREEEETTTTUUUURRRRNNNN
Returns the RowColumn widget ID.
RRRREEEELLLLAAAATTTTEEEEDDDD
XXXXmmmmCCCCaaaassssccccaaaaddddeeeeBBBBuuuuttttttttoooonnnn(3), XXXXmmmmCCCCaaaassssccccaaaaddddeeeeBBBBuuuuttttttttoooonnnnGGGGaaaaddddggggeeeetttt(3),
XXXXmmmmCCCCrrrreeeeaaaatttteeeePPPPuuuullllllllddddoooowwwwnnnnMMMMeeeennnnuuuu(3), XXXXmmmmCCCCrrrreeeeaaaatttteeeeSSSSiiiimmmmpppplllleeeeMMMMeeeennnnuuuuBBBBaaaarrrr(3),
XXXXmmmmMMMMaaaannnnaaaaggggeeeerrrr(3), XXXXmmmmRRRRoooowwwwCCCCoooolllluuuummmmnnnn(3), and
XXXXmmmmVVVVaaaaCCCCrrrreeeeaaaatttteeeeSSSSiiiimmmmpppplllleeeeMMMMeeeennnnuuuuBBBBaaaarrrr(3).
Page 2 (printed 10/24/98)